namespace SampleDbAccess.DbContext
{
    using Microsoft.EntityFrameworkCore;
    using SampleDbAccess.Model;
    using Stee.CAP8.DBAccess;
    public class SubjectContext : BaseDBContext
    {
        public SubjectContext(DbContextOptions<SubjectContext> options) : base(options) { }
        public SubjectContext() : this(true) { }
        public SubjectContext(bool useOracle) : this(null, useOracle) { }
        public SubjectContext(string connectionString, bool useOracle = true) : base(connectionString, useOracle) { }

        public DbSet<Subject> Subject { get; set; }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            // uses Model Attribute to configure the behavior of the properties
        }
    }

}
